package cc.mrbird.febs.item.service.impl;

import cc.mrbird.febs.item.dao.UserItemMapper;
import cc.mrbird.febs.item.domain.UserItemBean;
import cc.mrbird.febs.item.service.UserItemService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("UserService")
public class UserItemServiceImpl extends ServiceImpl<UserItemMapper, UserItemBean> implements UserItemService
{
    @Override
    public List<UserItemBean> listUser() {
        QueryWrapper<UserItemBean> queryWrapper = new QueryWrapper<>();
        return baseMapper.selectList(queryWrapper);
    }
}
